package com.zhang.modules.auth.service;

import com.zhang.common.jpa.service.BaseService;
import com.zhang.modules.auth.eneity.Role;
import com.zhang.modules.auth.eneity.cmd.AddRoleDto;

import java.util.Collection;
import java.util.Set;

public interface IRoleService extends BaseService<Role,String> {

    int deleteByIdNotIn(Set<String> ids);

    Role add(AddRoleDto roleDto);

    boolean edit(AddRoleDto role);
}
